package com.sunyard.dal.mapper;


import com.sunyard.dal.bo.bulletin.BulletinDeleteBO;
import com.sunyard.dal.bo.bulletin.BulletinQueryBo;
import com.sunyard.dal.bo.bulletin.BulletinUpdateBO;
import com.sunyard.dal.dto.BulletinDTO;
import com.sunyard.dal.entity.Bulletin;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BulletinMapper {


    int insert(Bulletin bulletin);

    List<BulletinDTO> getBulletinList(BulletinQueryBo bulletinQueryBo);

    int delete(BulletinDeleteBO bulletinDeleteBO);

    int update(BulletinUpdateBO bulletinUpdateBO);

    Bulletin getDetailByBulletinId(String bulletinId);

    int updateRelByOpId(String opId);

    List<String> getOrgByBulletinId(@Param("bulletinId") String bulletinId);

    List<String> getBulletinIdList(String orgId);

}
